package com.fy.tt.service;


import com.fy.tt.entity.Environment;
import com.fy.tt.entity.query.EnvironmentQuery;

import java.util.List;

public interface EnvironmentService {
    List<Environment> getAllEnvironments();
    int addEnvironment(Environment environment);
    int deleteEnvironment(int id);
    int updateEnvironment(Environment environment);
    // 分页查询
    List<Environment> getPageEnvironments(int pageSize, int current);

    List<Environment> getConditionPageEnvironments(EnvironmentQuery environmentQuery, int pageSize, int current);
}